/* marquee.css */
.marquee-container {
    width: 80%;
    max-width: 800px;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    background-color: #333;
    color: white;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.marquee-content {
    display: inline-block;
    padding-left: 100%;
    animation: marquee linear infinite;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.controls {
    margin-top: 20px;
    text-align: center;
}

button {
    padding: 8px 15px;
    margin: 0 5px;
    cursor: pointer;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
}

button:hover {
    background-color: #45a049;
}

input {
    padding: 8px;
    width: 60%;
    border: 1px solid #ddd;
    border-radius: 4px;
}